/* ==============================
   ZOBOLICIOUS HOME PAGE STYLES
   ============================== */

/* Ensure SVG icons render properly */
svg {
    display: inline-block;
    vertical-align: middle;
}

/* Fix button styling to work with Tailwind */
.btn-accent, .btn-primary, .btn-outline-primary, .btn-outline-secondary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1;
}

/* Ensure proper spacing for icon buttons */
.btn svg, button svg, a svg {
    flex-shrink: 0;
    vertical-align: middle;
}

/* Fix text alignment inside buttons */
.btn span, button span, a.btn span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

/* Trust Indicators */
.trust-indicators {
    margin-top: 4rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.trust-indicator-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.trust-indicator-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.trust-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

/* Hero Divider */
.hero-divider {
    width: 5rem;
    height: 0.2rem;
    margin: 0 auto 1.25rem;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    padding-top: 40px;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--accent-color) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, var(--accent-color) 2px, transparent 2px);
    background-size: 100px 100px;
}

.hero-floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-float {
    position: absolute;
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
}

.hero-float-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    background: var(--accent-color);
    opacity: 0.2;
    animation-delay: 0s;
}

.hero-float-2 {
    width: 128px;
    height: 128px;
    bottom: 32%;
    right: 16%;
    background: var(--white);
    opacity: 0.1;
    animation-delay: 2s;
}

.hero-float-3 {
    width: 64px;
    height: 64px;
    top: 33%;
    right: 20%;
    background: var(--accent-color);
    opacity: 0.3;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-40px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 80rem;
    margin: 0 auto;
}

/* Premium Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.hero-badge-text {
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hero Heading */
.hero-section .zobo-hero-h1 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white) !important;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: 'Inter', 'Nunito Sans', sans-serif;
}

.zobo-hero-accent {
    color: var(--accent-color) !important;
    font-size: inherit;
    font-weight: inherit;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 4rem;
}

/* Fix outline button visibility in hero section */
.hero-section .btn-outline-primary {
    background: transparent;
    color: var(--white) !important;
    border: 2px solid var(--white);
}

.hero-section .btn-outline-primary:hover {
    background: var(--white);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    padding: 5rem 0 8rem;
    background: var(--white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

.about-content {
    order: 2;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    background: rgba(45, 95, 63, 0.1);
}

.about-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.about-badge-text {
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
}

.about-heading {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-heading span {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* Global rule: All spans inside headings inherit font properties */
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

/* Ensure footer doesn't overlap content */
footer {
    position: relative;
    margin-top: 0;
    clear: both;
}

/* Social Links - Mobile Optimization */
.flex.flex-wrap.justify-center.gap-6 {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
}

.flex.flex-wrap.justify-center.gap-6 a {
    flex-shrink: 0;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
}

.flex.flex-wrap.justify-center.gap-6 a svg {
    width: 1.25rem;
    height: 1.25rem;
}

.flex.flex-wrap.justify-center.gap-6 a span {
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .flex.flex-wrap.justify-center.gap-6 {
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 1.5rem;
    }
    
    .flex.flex-wrap.justify-center.gap-6 a {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .flex.flex-wrap.justify-center.gap-6 a svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .flex.flex-wrap.justify-center.gap-6 a span {
        font-size: 1rem;
    }
}

.about-text {
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.about-image {
    order: 1;
    position: relative;
}

.about-image-decoration {
    position: absolute;
    inset: -1rem;
    border-radius: 24px;
    opacity: 0.2;
    filter: blur(40px);
    background: var(--gradient-accent);
}

.about-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stats Overlay */
.about-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.about-stat {
    color: var(--white);
}

.about-stat-number {
    font-size: 1.5rem;
    font-weight: 700; 
    margin-bottom: 0.25rem;
}

.about-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 600;
}

/* Additional Utility Classes for Consistency */
.bg-primary-color {
    background-color: var(--primary-color);
}

.bg-secondary-color {
    background-color: var(--secondary-color);
}

.bg-accent-color {
    background-color: var(--accent-color);
}

.text-primary-color {
    color: var(--primary-color);
}

.text-secondary-color {
    color: var(--secondary-color);
}

.text-accent-color {
    color: var(--accent-color);
}

.text-text-dark {
    color: var(--text-dark);
}

.text-text-light {
    color: var(--text-light);
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-accent {
    background: var(--gradient-accent);
}

.hover\:bg-primary-dark:hover {
    background-color: var(--primary-dark);
}

.hover\:bg-secondary-light:hover {
    background-color: var(--secondary-light);
}

.hover\:bg-accent-dark:hover {
    background-color: var(--accent-dark);
}

.hover\:text-white:hover {
    color: var(--white);
}

/* Ensure proper shadow variables */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Founder Section Styles */
.bg-opacity-10 {
    background-color: rgba(45, 95, 63, 0.1);
}

.bg-opacity-20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.bg-opacity-30 {
    background-color: rgba(255, 255, 255, 0.3);
}

.text-opacity-70 {
    opacity: 0.7;
}

.text-opacity-90 {
    opacity: 0.9;
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Grid System Support */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Aspect Ratio */
.aspect-video {
    aspect-ratio: 16 / 9;
}

/* Object Fit */
.object-cover {
    object-fit: cover;
}

/* Pointer Events */
.pointer-events-none {
    pointer-events: none;
}

/* Inset */
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Z-Index */
.z-10 {
    z-index: 10;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Border Radius */
.rounded-full {
    border-radius: 9999px;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
    
    .about-cta {
        flex-direction: row;
    }
    
    .about-cta .btn {
        padding: 1.5rem 2rem;
    }
}

@media (min-width: 768px) {
    .hero-section .zobo-hero-h1 { 
        font-size: 3rem; 
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.25rem;
    }
    
    .about-heading {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-section .zobo-hero-h1 { 
        font-size: 3.6rem; 
    }
    
    .hero-subtitle {
        font-size: 1.875rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-content {
        order: 1;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-heading {
        font-size: 3.75rem;
    }
}